package com.snail.snailvr.model;


import com.alibaba.fastjson.annotation.JSONField;

/**
 * 所有model的基类 统一处理msg code
 * Created by sunxy on 2015/11/4.
 */
public class BaseData {
    protected int code;
    protected String msg;
    protected String val;

    @JSONField(name = "code")
    public int getCode() {
        return code;
    }

    @JSONField(name = "code")
    public void setCode(int code) {
        this.code = code;
    }

    @JSONField(name = "msg")
    public String getMsg() {
        return msg;
    }

    @JSONField(name = "msg")
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
